home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 1⁄5⁄90 / 0313-Re TTextEdit wrap (r-Jan90 < prev    next >
Encoding:
Text File  |  1990-01-05  |  1.2 KB  |  41 lines  |  [TEXT/GEOL]

  1. Item    9527474                         3-Jan-90        08:46
  2.  
  3. From:   MOOF                            Rollin, Keith A
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    RE>TTextEdit wrap (revisi
  8.  
  9. Attn: Power Up,PRT
  10. SentBy: Keith Rollin
  11. Date   1/3/90
  12. Subject    RE>TTextEdit wrap (revisite
  13. From   Keith Rollin
  14. To Power Up,PRT
  15.  
  16.          Reply to:   RE>TTextEdit wrap (revisited
  17. James,
  18.  
  19. Sorry for losing track of the subject here:
  20.  
  21. >    How can one make the text wrap properly at the edges of the TTextEdit
  22. control?
  23.  
  24. There are two things you can do:
  25.  
  26. The first is to override TDialogTEView so that it does the wrapping (look at
  27. TDialogTEView.RecalText). You will also have to override
  28. TDialogView.MakeTEView so that it instantiates your override class. Finally,
  29. you will have to make sure you also call TTEView.ChangeAutoWrap(TRUE) on your
  30. TDialogTEView so that you will actually wrap.
  31.  
  32. The other way to do this is to just put a TTEView into you TDialogView. If you
  33. want TABing to inlcude your TTEView, you will have to override
  34. TDialogView.Tab.
  35.  
  36. I hope this is enough to get you started. If not, give me a holler!
  37.  
  38. - Keith Rollin
  39. - Apple Developer Technical Support
  40.  
  41.